Skip to content

[Backport to 21] Fix incorrect translation for AtomicCmpExchangeWeak builtin ptr arg type. (#3390)#3392

Merged
maarquitos14 merged 1 commit intoKhronosGroup:llvm_release_210from
maarquitos14:maronas/llvm21-AtomicCmpExchangeWeakFix
Oct 17, 2025
Merged

[Backport to 21] Fix incorrect translation for AtomicCmpExchangeWeak builtin ptr arg type. (#3390)#3392
maarquitos14 merged 1 commit intoKhronosGroup:llvm_release_210from
maarquitos14:maronas/llvm21-AtomicCmpExchangeWeakFix

Conversation

@maarquitos14
Copy link
Contributor

Add missing case so that pointer argument types for OpAtomicCompareExchangeWeak are resolved correctly. The newly added test, without this patch would introduce an invalid bitcast just before the atomic builtin.

…ype. (KhronosGroup#3390)

Add missing case so that pointer argument types for
`OpAtomicCompareExchangeWeak` are resolved correctly. The newly added
test, without this patch would introduce an invalid bitcast just before
the atomic builtin.
@MrSidims
Copy link
Contributor

Thank you @maarquitos14 !

@maarquitos14 maarquitos14 merged commit a37544f into KhronosGroup:llvm_release_210 Oct 17, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants